package com.lovo.boot.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.boot.model.dos.UserDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @title
 * @author: luo
 * @date: 2020/11/24 14:00
 */
public interface UserDAO extends BaseMapper<UserDO> {

    UserDO selectByName(String userName);

    List<UserDO> selectAll(@Param("name") String userName);





}
